<script setup lang="ts">
import eIdentification from './component/e-identification.vue'
import otherIdentification from './component/other-identification.vue'

const activeName = ref('first')
const componentDom = computed(() => {
    return activeName.value === 'first' ? eIdentification : otherIdentification
})
</script>

<template>
    <ElCard shadow="never">
        <el-tabs v-model="activeName"
                 class="demo-tabs"
        >
            <el-tab-pane label="e签宝"
                         name="first"
            />

            <!-- <el-tab-pane label="其他第三方"
                         name="second"
            /> -->
        </el-tabs>

        <component :is="componentDom" />
    </ElCard>
</template>

<style lang="scss" scoped></style>
